package controllers;

import dto.user.*;

import play.mvc.*;
import play.mvc.Http.*;
import services.user.*;

import utils.MVCUtils;

public class UserRegisterController extends AuthController {
	
	public static Result signUpPublicUser() {
		return ok();
	}
	public static Result signUpUserInfo() {
    	Request currentRequest = Context.current().request();
    	LocalUserInfoDto oneUserRegInfo = MVCUtils.getRequestDTO(currentRequest, LocalUserInfoDto.class);
    	AniLocalUserRegService.publicUserRegister(oneUserRegInfo);
    	
    	return ok();
    }

}